Everything Totally Explained


Ask & we'll explain, totally!
Application programming interface
Totally Explained


  NEW! All the latest news in the worlds of computer gaming, entertainment, the environment,  
finance, health, politics, science, stocks & shares, technology and much, much, more.  


View this entry using RSS

Everything about Application Programming Interface totally explained

An application programming interface (API) is a source code interface that an operating system, library or service provides to support requests made by computer programs.
  • Language-dependent APIs are available only in a particular programming language. They utilize the syntax and elements of the programming language to make the API convenient to use in this particular context.
  • Language-independent APIs are written in a way they can be called from several programming languages. This is a desired feature for service style API which isn't bound to a particular process or system and is available as a remote procedure call.

    API versus ABI

    An API is typically defined at a higher level (for example, in terms of a programming language that can be compiled when an application is built, rather than an explicit low level description of how data is laid out in memory). For example, the Linux Standard Base is an ABI, while POSIX is an API.

    Distinction between specification and its implementation

    The software that provides the functionality described by an API is said to be an implementation of the API. The API itself is abstract, in that it specifies an interface and the behavior of the identifiers specified in that interface; it doesn't specify how the behavior may be implemented.

    Release policies

    There are two general kinds of API publishing policies that are often encountered:
  • Some companies protect information on their APIs from the general public. For example, Sony used to make its official PlayStation 2 API available only to licensed PlayStation developers. This enabled Sony to control who wrote PlayStation 2 games. Such control can have quality control benefits and potential license revenue.
  • Some companies make their APIs freely available. For example Microsoft makes the Microsoft Windows API public and Apple releases its APIs Carbon and Cocoa so that software can be written for their platform.

    API examples

    Below are listed some well known APIs.
  • The PC BIOS call interface
  • Comedi Data Acquisition API
  • Single UNIX Specification (SUS)
  • Windows API
  • Java Platform, Standard Edition API
  • Java Platform, Enterprise Edition APIs
  • ASPI for SCSI device interfacing
  • Carbon and Cocoa for the Macintosh OS
  • iPhone API
  • OpenGL cross-platform 3D graphics API
  • DirectX for Microsoft Windows
  • Simple DirectMedia Layer (SDL)
  • Google Maps API
  • YouTube API
  • Language bindings and interface generators

    Below are listed some interface generator tools.
  • SWIG
  • PyGTK: Python bindings for GTK
  • JSR 231 Java Binding for the OpenGL API
  • F2PY: Fortran to Python interface generator.Further Information

    Get more info on 'Application Programming Interface'.


    External Link Exchanges

    Do you know how hard it is to get a link from a large encyclopaedia? Well we're different and will prove it. To get a link from us just add the following HTML to your site on a relevant page:

      <a href="http://application_programming_interface.totallyexplained.com">Application programming interface Totally Explained</a>

    Then simply click through this link from your web page. Our crawlers will verify your link, extract the title of your web page and instantly add a link back to it. If you like you can remove the words Totally Explained and embed the link in article text.
       As long as your link remains in place, we'll keep our link to you right here. Please play fair - our crawlers are watching. Your site must be closely related to this one's topic. Any kind of spamming, dubious practises or removing the link will result in your link from us being dropped and, potentially, your whole site being banned.



    Copyright © 2007-8 totallyexplained.com | Licensed under the GNU Free Documentation License | Site Map
    This article contains text from the Wikipedia article Application programming interface (History) and is released under the GFDL | RSS Version